Visualize orbital data with Cesium

Poliastro allows users to easily convert orbital data to CZML, a JSON format primarily used in applications running Cesium

Dependencies

You will only need poliastro (obviously) and czml3, a library for easily creating and using CZML packets

pip install poliastro czml3

Our first example: The Molniya orbit

We'll start off by using one of the readily usable poliastro examples. Of course, you can use any poliastro Orbit object.


In [1]:
from poliastro.czml.extract_czml import CZMLExtractor


WARNING: AstropyDeprecationWarning: astropy.extern.six will be removed in 4.0, use the six module directly if it is still needed [astropy.extern.six]

In [2]:
from poliastro.examples import molniya

To initialize the extractor, you'll only need the starting and ending epoch of the time period you wish to visualize and the number of sample points. The larger the sample point size, the more accurate the trajectory and the bigger your packets. Finding that sweet spot between reasonable package size and visual accuracy depends on the specific orbit. Generally, you'll need a bigger sample for faster satellites. You could also "break" your orbit into different parts and define the sample size individually (for example, this could be useful when the satellite accelerates within a certain time interval).

For this specific example, we're only interested in a single orbital period.


In [3]:
start_epoch = molniya.epoch
end_epoch = molniya.epoch + molniya.period
N = 80

In [4]:
extractor = CZMLExtractor(
        start_epoch,
        end_epoch,
        N
    )

To add an orbit you can simply call add_orbit and pass your Orbit along with an optional precision parameter (rtol). However, there are also many optional parameters you can pass to the extractor to specify the visual characteristics of your trajectory:

Id parameters:

id_name: The orbit id name

id_description: The orbit's description

Path parameters:

path_width: The trajectorie's width. It's defined in pixels and defaults to 1.0

path_show: Whether the trajectorie's path is visible (true by default)

path_color: The trajectorie's color, a simple list with the rgba values (e.g. [45, 30, 50, 255])

Label parameters:

label_text: The label text; the text that appears besides the orbit.

label_show: Whether the label is visible (true by default)

label_fill_color: The fill color of the label , a simple list with the rgba values

label_outline_color: The fill color of the label , a simple list with the rgba values

label_font: The font properties (CSS syntax)

Groundtrack parameters:

show_groundtrack: Whether the groundtrack is visible (true by default)

groundtrack_lead_time: The time the animation is ahead of the real-time groundtrack

groundtrack_trail_time: The time the animation is behind the real-time groundtrack

groundtrack_width: The groundtrack width

groundtrack_color: The groundtrack color. By default, it is set to the trajectory's color


In [5]:
extractor.add_orbit(molniya,
              id_name="MolniyaOrbit",
              path_width=2,
              label_text="Molniya", 
              label_fill_color=[125, 80, 120, 255]
             )

You can now export the extractor packets by simply calling extractor.packets and load it to the Cesium app as described here


In [6]:
extractor.packets


Out[6]:
[{
     "id": "document",
     "version": "1.0",
     "name": "document_packet",
     "clock": {
         "interval": "2000-01-01T12:00:00.000/2000-01-01T23:59:35.108",
         "currentTime": "2000-01-01T12:00:00.000",
         "multiplier": 60,
         "range": "LOOP_STOP",
         "step": "SYSTEM_CLOCK_MULTIPLIER"
     }
 }, {
     "id": "custom_properties",
     "properties": {
         "custom_attractor": true,
         "ellipsoid": [
             {
                 "array": [
                     6378136.6,
                     6378136.6,
                     6356751.9
                 ]
             }
         ],
         "map_url": [
             "https://upload.wikimedia.org/wikipedia/commons/c/c4/Earthmap1000x500compac.jpg"
         ],
         "scene3D": true
     }
 }, {
     "id": 0,
     "name": "MolniyaOrbit",
     "availability": "2000-01-01T12:00:00Z/2000-01-01T23:59:35Z",
     "position": {
         "epoch": "2000-01-01T12:00:00.000",
         "interpolationAlgorithm": "LAGRANGE",
         "interpolationDegree": 5,
         "referenceFrame": "INERTIAL",
         "cartesian": [
             0.0,
             10140093.639301956,
             -800580.7545708627,
             -1598722.8245590802,
             539.6888535268,
             12583736.532830043,
             608614.3053631423,
             1215374.6836679683,
             1079.3777070536,
             14295507.86717956,
             1989670.1402512235,
             3973279.4579459755,
             1619.0665605805,
             15505442.292977262,
             3303989.2191327633,
             6597914.010006514,
             2158.7554141073,
             16355758.460532963,
             4543232.093240303,
             9072624.84547983,
             2698.4442676341,
             16937366.576441664,
             5708707.095335405,
             11400024.644518537,
             3238.1331211609,
             17311109.639420655,
             6804657.668148968,
             13588587.366445117,
             3777.8219746877,
             17519481.55513155,
             7835956.932408241,
             15648044.408484645,
             4317.5108282145,
             17593269.647865042,
             8807305.99451325,
             17587783.66318825,
             4857.1996817414,
             17555482.638387196,
             9722977.946547886,
             19416338.298268184,
             5396.8885352682,
             17423773.80513113,
             10586766.09014183,
             21141283.362039283,
             5936.577388795,
             17211994.577964418,
             11402007.171563568,
             22769282.18282757,
             6476.2662423218,
             16931225.1988728,
             12171628.905669548,
             24306181.272103716,
             7015.9550958486,
             16590479.278890893,
             12898201.75017719,
             25757113.715317182,
             7555.6439493755,
             16197198.290110337,
             13583987.350323815,
             27126595.913644638,
             8095.3328029023,
             15757606.783286244,
             14230981.220626153,
             28418612.81749416,
             8635.0216564291,
             15276972.869304704,
             14840949.332154907,
             29636690.98960429,
             9174.7105099559,
             14759802.772388605,
             15415459.078886665,
             30783960.44341979,
             9714.3993634827,
             14209988.557449266,
             15955905.347879473,
             31863206.70402937,
             10254.0882170096,
             13630921.985200183,
             16463532.438430728,
             32876914.57971248,
             10793.7770705364,
             13025583.458670702,
             16939452.507247716,
             33827304.99609377,
             11333.4659240632,
             12396612.378749572,
             17384661.1221385,
             34716366.05614605,
             11873.15477759,
             11746363.436633805,
             17800050.41198711,
             35545879.300083995,
             12412.8436311168,
             11076952.138475787,
             18186420.2157734,
             36317441.96944226,
             12952.5324846436,
             10390291.99457659,
             18544487.56091128,
             37032485.934879646,
             13492.2213381705,
             9688125.19215981,
             18874894.740942042,
             37692293.82695986,
             14031.9101916973,
             8972048.128819287,
             19178216.213226963,
             38298012.81052535,
             14571.5990452241,
             8243532.861244928,
             19454964.49703795,
             38850666.36291227,
             15111.2878987509,
             7503945.285791397,
             19705595.21972072,
             39351164.35090532,
             15650.9767522777,
             6754560.689918315,
             19930511.431974113,
             39800311.648151584,
             16190.6656058046,
             5996577.17989091,
             20130067.29155736,
             40198815.49135383,
             16730.3544593314,
             5231127.388724881,
             20304571.196922425,
             40547291.737989776,
             17270.0433128582,
             4459288.790909822,
             20454288.437578898,
             40846270.15896844,
             17809.732166385,
             3682092.891011656,
             20579443.415795017,
             41096198.8752646,
             18349.4210199118,
             2900533.507541494,
             20680221.48400582,
             41297448.02713804,
             18889.1098734387,
             2115574.338358827,
             20756770.43362317,
             41450312.7472185,
             19428.7987269655,
             1328155.9670682556,
             20809201.66348524,
             41555015.493845396,
             19968.4875804923,
             539202.4497048024,
             20837591.049665745,
             41611707.78803666,
             20508.1764340191,
             -250372.393719798,
             20841979.532555424,
             41620471.38586343,
             21047.8652875459,
             -1039658.8683693728,
             20822373.431829907,
             41581318.907426335,
             21587.5541410727,
             -1827745.3661045919,
             20778744.49495664,
             41494193.93372155,
             22127.2429945996,
             -2613712.2934710216,
             20711029.680108376,
             41358970.5731291,
             22666.9318481264,
             -3396625.8591288356,
             20619130.669593994,
             41175452.48975663,
             23206.6207016532,
             -4175531.6089627612,
             20502913.105037875,
             40943371.37612789,
             23746.30955518,
             -4949447.58850373,
             20362205.530383125,
             40662384.84240904,
             24285.9984087068,
             -5717356.9993330445,
             20196798.02319426,
             40332073.683183126,
             24825.6872622337,
             -6478200.198084403,
             20006440.488501932,
             39951938.47033685,
             25365.3761157605,
             -7230865.862448953,
             19790840.582348656,
             39521395.40647716,
             25905.0649692873,
             -7974181.11673574,
             19549661.223999903,
             39039771.3569316,
             26444.7538228141,
             -8706900.368016582,
             19282517.646165006,
             38506297.959175535,
             26984.4426763409,
             -9427692.549896305,
             18988973.921144232,
             37920104.685708255,
             27524.1315298678,
             -10135126.40068188,
             18668538.88710416,
             37280210.70901276,
             28063.8203833946,
             -10827653.310900154,
             18320661.382095966,
             36585515.3841103,
             28603.5092369214,
             -11503587.154414397,
             17944724.67323514,
             35834787.12388926,
             29143.1980904482,
             -12161080.35753547,
             17540039.943749472,
             35026650.39304059,
             29682.886943975,
             -12798095.246944705,
             17105838.67026048,
             34159570.48584052,
             30222.5757975018,
             -13412369.429028254,
             16641263.68534883,
             33231835.6785061,
             30762.2646510287,
             -14001373.559951114,
             16145358.674606074,
             32241536.255292214,
             31301.9535045555,
             -14562259.322609657,
             15617055.801295288,
             31186539.795509923,
             31841.6423580823,
             -15091794.666271525,
             15055161.083856162,
             30064461.97307884,
             32381.3312116091,
             -15586282.284827448,
             14458337.070962245,
             28872631.95941594,
             32921.0200651359,
             -16041455.75122191,
             13825082.267011208,
             27608051.33708898,
             33460.7089186628,
             -16452345.437294822,
             13153706.664422834,
             26267345.238944657,
             34000.3977721896,
             -16813102.923224896,
             12442302.656641934,
             24846704.262717616,
             34540.0866257164,
             -17116767.365662485,
             11688710.582876906,
             23341815.66546328,
             35079.7754792432,
             -17354949.104752578,
             10890478.29763031,
             21747782.625776052,
             35619.46433277,
             -17517392.649865743,
             10044814.704240216,
             20059031.452415537,
             36159.1531862968,
             -17591359.494812906,
             9148538.688496817,
             18269209.607095357,
             36698.8420398237,
             -17560734.281861152,
             8198028.609533348,
             16371084.840123028,
             37238.5308933505,
             -17404692.760537248,
             7189186.514400129,
             14356473.728555618,
             37778.2197468773,
             -17095651.00726494,
             6117453.232937903,
             12216271.81996527,
             38317.9086004041,
             -16595989.290428558,
             4977965.867410593,
             9940768.131968534,
             38857.5974539309,
             -15852598.670961218,
             3766095.5927112834,
             7520719.114421264,
             39397.2863074578,
             -14787403.229959672,
             2479017.267440332,
             4950483.090312828,
             39936.9751609846,
             -13280284.57641061,
             1120227.7306741788,
             2237043.085919334,
             40476.6640145114,
             -11138571.623096671,
             -286874.6960856143,
             -572875.5304221162,
             41016.3528680382,
             -8054972.095609328,
             -1656088.279449939,
             -3307131.8748607785,
             41556.041721565,
             -3666476.7099878453,
             -2716113.2463438613,
             -5423952.819531379,
             42095.7305750919,
             1741220.9792386417,
             -2919128.3756440603,
             -5829364.664732453,
             42635.4194286187,
             6613709.608181573,
             -2104083.683650703,
             -4201758.024570373,
             43175.1082821455,
             10140093.63930242,
             -800580.7545706416,
             -1598722.8245586387,
             43714.7971356723,
             12583736.53283038,
             608614.3053633778,
             1215374.683668438
         ]
     },
     "billboard": {
         "show": true,
         "image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADJSURBVDhPnZHRDcMgEEMZjVEYpaNklIzSEfLfD4qNnXAJSFWfhO7w2Zc0Tf9QG2rXrEzSUeZLOGm47WoH95x3Hl3jEgilvDgsOQUTqsNl68ezEwn1vae6lceSEEYvvWNT/Rxc4CXQNGadho1NXoJ+9iaqc2xi2xbt23PJCDIB6TQjOC6Bho/sDy3fBQT8PrVhibU7yBFcEPaRxOoeTwbwByCOYf9VGp1BYI1BA+EeHhmfzKbBoJEQwn1yzUZtyspIQUha85MpkNIXB7GizqDEECsAAAAASUVORK5CYII="
     },
     "label": {
         "text": "Molniya",
         "font": "11pt Lucida Console",
         "style": "FILL",
         "fillColor": {
             "rgba": [
                 125,
                 80,
                 120,
                 255
             ]
         },
         "outlineColor": {
             "rgba": [
                 255,
                 255,
                 0,
                 255
             ]
         },
         "outlineWidth": 1.0
     },
     "path": {
         "width": 2,
         "resolution": 120,
         "material": {
             "solidColor": {
                 "color": {
                     "rgba": [
                         255,
                         255,
                         0,
                         255
                     ]
                 }
             }
         }
     }
 }]

Landing on Mars

You can customize the attractor of your orbit by defining any valid ellipsoid with the help of poliastro's Body class. For your convenience, poliastro offers a pre-defined list of all the major planetary bodies of the solar system so you can simply import them.


In [7]:
from poliastro.bodies import Mars

Of course, when defining a new attractor you want to be able to identify something other than it's shape. For this reason, the extractor allows you to easily set the UV map by simply providing a valid URL.


In [8]:
mars_uv = "https://upload.wikimedia.org/wikipedia/commons/f/fd/Mars_2020_LandingSites_Final_8-full.jpg"

In [9]:
extractor = CZMLExtractor(
        start_epoch,
        end_epoch,
        N,
        attractor=Mars,
        pr_map=mars_uv
)


WARNING: AstropyDeprecationWarning: The truth value of a Quantity is ambiguous. In the future this will raise a ValueError. [astropy.units.quantity]

In [10]:
extractor.packets


Out[10]:
[{
     "id": "document",
     "version": "1.0",
     "name": "document_packet",
     "clock": {
         "interval": "2000-01-01T12:00:00.000/2000-01-01T23:59:35.108",
         "currentTime": "2000-01-01T12:00:00.000",
         "multiplier": 60,
         "range": "LOOP_STOP",
         "step": "SYSTEM_CLOCK_MULTIPLIER"
     }
 }, {
     "id": "custom_properties",
     "properties": {
         "custom_attractor": true,
         "ellipsoid": [
             {
                 "array": [
                     3396190.0,
                     3396190.0,
                     3376220.0
                 ]
             }
         ],
         "map_url": "https://upload.wikimedia.org/wikipedia/commons/f/fd/Mars_2020_LandingSites_Final_8-full.jpg",
         "scene3D": true
     }
 }]

Return to Flatland

Instead of a 3D globe you may want to visualize your orbit as a 2D projection instead. In this case you can simply set scene3D to false and Cesium will automatically render the scene's orthographic projection. This can be of use when plotting animated groundtracks as we'll see in the next section


In [11]:
extractor = CZMLExtractor(
        start_epoch,
        end_epoch,
        N,
        scene3D=False
)

In [12]:
extractor.packets


Out[12]:
[{
     "id": "document",
     "version": "1.0",
     "name": "document_packet",
     "clock": {
         "interval": "2000-01-01T12:00:00.000/2000-01-01T23:59:35.108",
         "currentTime": "2000-01-01T12:00:00.000",
         "multiplier": 60,
         "range": "LOOP_STOP",
         "step": "SYSTEM_CLOCK_MULTIPLIER"
     }
 }, {
     "id": "custom_properties",
     "properties": {
         "custom_attractor": true,
         "ellipsoid": [
             {
                 "array": [
                     6378136.6,
                     6378136.6,
                     6356751.9
                 ]
             }
         ],
         "map_url": [
             "https://upload.wikimedia.org/wikipedia/commons/c/c4/Earthmap1000x500compac.jpg"
         ],
         "scene3D": false
     }
 }]

Ground track plotting

Another useful feature the extractor offers, is the ability to plot the ground track of an orbit. You can set the groundtrack by setting the aforementioned groundtrack_show parameter to true. Note that this also works in 2D view.


In [13]:
extractor = CZMLExtractor(
        start_epoch,
        end_epoch,
        N
    )

In [14]:
extractor.add_orbit(molniya,
              groundtrack_show=True,
              groundtrack_lead_time=20,
              groundtrack_trail_time=20
             )

In [15]:
extractor.packets


Out[15]:
[{
     "id": "document",
     "version": "1.0",
     "name": "document_packet",
     "clock": {
         "interval": "2000-01-01T12:00:00.000/2000-01-01T23:59:35.108",
         "currentTime": "2000-01-01T12:00:00.000",
         "multiplier": 60,
         "range": "LOOP_STOP",
         "step": "SYSTEM_CLOCK_MULTIPLIER"
     }
 }, {
     "id": "custom_properties",
     "properties": {
         "custom_attractor": true,
         "ellipsoid": [
             {
                 "array": [
                     6378136.6,
                     6378136.6,
                     6356751.9
                 ]
             }
         ],
         "map_url": [
             "https://upload.wikimedia.org/wikipedia/commons/c/c4/Earthmap1000x500compac.jpg"
         ],
         "scene3D": true
     }
 }, {
     "id": 0,
     "availability": "2000-01-01T12:00:00Z/2000-01-01T23:59:35Z",
     "position": {
         "epoch": "2000-01-01T12:00:00.000",
         "interpolationAlgorithm": "LAGRANGE",
         "interpolationDegree": 5,
         "referenceFrame": "INERTIAL",
         "cartesian": [
             0.0,
             10140093.639301956,
             -800580.7545708627,
             -1598722.8245590802,
             539.6888535268,
             12583736.532830043,
             608614.3053631423,
             1215374.6836679683,
             1079.3777070536,
             14295507.86717956,
             1989670.1402512235,
             3973279.4579459755,
             1619.0665605805,
             15505442.292977262,
             3303989.2191327633,
             6597914.010006514,
             2158.7554141073,
             16355758.460532963,
             4543232.093240303,
             9072624.84547983,
             2698.4442676341,
             16937366.576441664,
             5708707.095335405,
             11400024.644518537,
             3238.1331211609,
             17311109.639420655,
             6804657.668148968,
             13588587.366445117,
             3777.8219746877,
             17519481.55513155,
             7835956.932408241,
             15648044.408484645,
             4317.5108282145,
             17593269.647865042,
             8807305.99451325,
             17587783.66318825,
             4857.1996817414,
             17555482.638387196,
             9722977.946547886,
             19416338.298268184,
             5396.8885352682,
             17423773.80513113,
             10586766.09014183,
             21141283.362039283,
             5936.577388795,
             17211994.577964418,
             11402007.171563568,
             22769282.18282757,
             6476.2662423218,
             16931225.1988728,
             12171628.905669548,
             24306181.272103716,
             7015.9550958486,
             16590479.278890893,
             12898201.75017719,
             25757113.715317182,
             7555.6439493755,
             16197198.290110337,
             13583987.350323815,
             27126595.913644638,
             8095.3328029023,
             15757606.783286244,
             14230981.220626153,
             28418612.81749416,
             8635.0216564291,
             15276972.869304704,
             14840949.332154907,
             29636690.98960429,
             9174.7105099559,
             14759802.772388605,
             15415459.078886665,
             30783960.44341979,
             9714.3993634827,
             14209988.557449266,
             15955905.347879473,
             31863206.70402937,
             10254.0882170096,
             13630921.985200183,
             16463532.438430728,
             32876914.57971248,
             10793.7770705364,
             13025583.458670702,
             16939452.507247716,
             33827304.99609377,
             11333.4659240632,
             12396612.378749572,
             17384661.1221385,
             34716366.05614605,
             11873.15477759,
             11746363.436633805,
             17800050.41198711,
             35545879.300083995,
             12412.8436311168,
             11076952.138475787,
             18186420.2157734,
             36317441.96944226,
             12952.5324846436,
             10390291.99457659,
             18544487.56091128,
             37032485.934879646,
             13492.2213381705,
             9688125.19215981,
             18874894.740942042,
             37692293.82695986,
             14031.9101916973,
             8972048.128819287,
             19178216.213226963,
             38298012.81052535,
             14571.5990452241,
             8243532.861244928,
             19454964.49703795,
             38850666.36291227,
             15111.2878987509,
             7503945.285791397,
             19705595.21972072,
             39351164.35090532,
             15650.9767522777,
             6754560.689918315,
             19930511.431974113,
             39800311.648151584,
             16190.6656058046,
             5996577.17989091,
             20130067.29155736,
             40198815.49135383,
             16730.3544593314,
             5231127.388724881,
             20304571.196922425,
             40547291.737989776,
             17270.0433128582,
             4459288.790909822,
             20454288.437578898,
             40846270.15896844,
             17809.732166385,
             3682092.891011656,
             20579443.415795017,
             41096198.8752646,
             18349.4210199118,
             2900533.507541494,
             20680221.48400582,
             41297448.02713804,
             18889.1098734387,
             2115574.338358827,
             20756770.43362317,
             41450312.7472185,
             19428.7987269655,
             1328155.9670682556,
             20809201.66348524,
             41555015.493845396,
             19968.4875804923,
             539202.4497048024,
             20837591.049665745,
             41611707.78803666,
             20508.1764340191,
             -250372.393719798,
             20841979.532555424,
             41620471.38586343,
             21047.8652875459,
             -1039658.8683693728,
             20822373.431829907,
             41581318.907426335,
             21587.5541410727,
             -1827745.3661045919,
             20778744.49495664,
             41494193.93372155,
             22127.2429945996,
             -2613712.2934710216,
             20711029.680108376,
             41358970.5731291,
             22666.9318481264,
             -3396625.8591288356,
             20619130.669593994,
             41175452.48975663,
             23206.6207016532,
             -4175531.6089627612,
             20502913.105037875,
             40943371.37612789,
             23746.30955518,
             -4949447.58850373,
             20362205.530383125,
             40662384.84240904,
             24285.9984087068,
             -5717356.9993330445,
             20196798.02319426,
             40332073.683183126,
             24825.6872622337,
             -6478200.198084403,
             20006440.488501932,
             39951938.47033685,
             25365.3761157605,
             -7230865.862448953,
             19790840.582348656,
             39521395.40647716,
             25905.0649692873,
             -7974181.11673574,
             19549661.223999903,
             39039771.3569316,
             26444.7538228141,
             -8706900.368016582,
             19282517.646165006,
             38506297.959175535,
             26984.4426763409,
             -9427692.549896305,
             18988973.921144232,
             37920104.685708255,
             27524.1315298678,
             -10135126.40068188,
             18668538.88710416,
             37280210.70901276,
             28063.8203833946,
             -10827653.310900154,
             18320661.382095966,
             36585515.3841103,
             28603.5092369214,
             -11503587.154414397,
             17944724.67323514,
             35834787.12388926,
             29143.1980904482,
             -12161080.35753547,
             17540039.943749472,
             35026650.39304059,
             29682.886943975,
             -12798095.246944705,
             17105838.67026048,
             34159570.48584052,
             30222.5757975018,
             -13412369.429028254,
             16641263.68534883,
             33231835.6785061,
             30762.2646510287,
             -14001373.559951114,
             16145358.674606074,
             32241536.255292214,
             31301.9535045555,
             -14562259.322609657,
             15617055.801295288,
             31186539.795509923,
             31841.6423580823,
             -15091794.666271525,
             15055161.083856162,
             30064461.97307884,
             32381.3312116091,
             -15586282.284827448,
             14458337.070962245,
             28872631.95941594,
             32921.0200651359,
             -16041455.75122191,
             13825082.267011208,
             27608051.33708898,
             33460.7089186628,
             -16452345.437294822,
             13153706.664422834,
             26267345.238944657,
             34000.3977721896,
             -16813102.923224896,
             12442302.656641934,
             24846704.262717616,
             34540.0866257164,
             -17116767.365662485,
             11688710.582876906,
             23341815.66546328,
             35079.7754792432,
             -17354949.104752578,
             10890478.29763031,
             21747782.625776052,
             35619.46433277,
             -17517392.649865743,
             10044814.704240216,
             20059031.452415537,
             36159.1531862968,
             -17591359.494812906,
             9148538.688496817,
             18269209.607095357,
             36698.8420398237,
             -17560734.281861152,
             8198028.609533348,
             16371084.840123028,
             37238.5308933505,
             -17404692.760537248,
             7189186.514400129,
             14356473.728555618,
             37778.2197468773,
             -17095651.00726494,
             6117453.232937903,
             12216271.81996527,
             38317.9086004041,
             -16595989.290428558,
             4977965.867410593,
             9940768.131968534,
             38857.5974539309,
             -15852598.670961218,
             3766095.5927112834,
             7520719.114421264,
             39397.2863074578,
             -14787403.229959672,
             2479017.267440332,
             4950483.090312828,
             39936.9751609846,
             -13280284.57641061,
             1120227.7306741788,
             2237043.085919334,
             40476.6640145114,
             -11138571.623096671,
             -286874.6960856143,
             -572875.5304221162,
             41016.3528680382,
             -8054972.095609328,
             -1656088.279449939,
             -3307131.8748607785,
             41556.041721565,
             -3666476.7099878453,
             -2716113.2463438613,
             -5423952.819531379,
             42095.7305750919,
             1741220.9792386417,
             -2919128.3756440603,
             -5829364.664732453,
             42635.4194286187,
             6613709.608181573,
             -2104083.683650703,
             -4201758.024570373,
             43175.1082821455,
             10140093.63930242,
             -800580.7545706416,
             -1598722.8245586387,
             43714.7971356723,
             12583736.53283038,
             608614.3053633778,
             1215374.683668438
         ]
     },
     "billboard": {
         "show": true,
         "image": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADJSURBVDhPnZHRDcMgEEMZjVEYpaNklIzSEfLfD4qNnXAJSFWfhO7w2Zc0Tf9QG2rXrEzSUeZLOGm47WoH95x3Hl3jEgilvDgsOQUTqsNl68ezEwn1vae6lceSEEYvvWNT/Rxc4CXQNGadho1NXoJ+9iaqc2xi2xbt23PJCDIB6TQjOC6Bho/sDy3fBQT8PrVhibU7yBFcEPaRxOoeTwbwByCOYf9VGp1BYI1BA+EeHhmfzKbBoJEQwn1yzUZtyspIQUha85MpkNIXB7GizqDEECsAAAAASUVORK5CYII="
     },
     "label": {
         "font": "11pt Lucida Console",
         "style": "FILL",
         "fillColor": {
             "rgba": [
                 255,
                 255,
                 0,
                 255
             ]
         },
         "outlineColor": {
             "rgba": [
                 255,
                 255,
                 0,
                 255
             ]
         },
         "outlineWidth": 1.0
     },
     "path": {
         "resolution": 120,
         "material": {
             "solidColor": {
                 "color": {
                     "rgba": [
                         255,
                         255,
                         0,
                         255
                     ]
                 }
             }
         }
     }
 }, {
     "id": "groundtrack0",
     "availability": "2000-01-01T12:00:00Z/2000-01-01T23:59:35Z",
     "position": {
         "epoch": "2000-01-01T12:00:00.000",
         "interpolationAlgorithm": "LAGRANGE",
         "interpolationDegree": 5,
         "referenceFrame": "INERTIAL",
         "cartesian": [
             0.0,
             6280728.255793352,
             -495875.99987452227,
             -990241.589544094,
             539.6888535268,
             6341053.817010772,
             306686.1143789858,
             612437.9188725743,
             1079.3777070536,
             6089229.750035245,
             847508.1790674896,
             1692434.6261455906,
             1619.0665605805,
             5756367.851201799,
             1226600.1951129492,
             2449463.889214577,
             2158.7554141073,
             5415847.194351472,
             1504390.7640290447,
             3004198.8368607652,
             2698.4442676341,
             5090830.810440682,
             1715854.8798255008,
             3426482.918221448,
             3238.1331211609,
             4787570.182351511,
             1881899.9984610477,
             3758067.3580841892,
             3777.8219746877,
             4506422.461715499,
             2015592.367072594,
             4025044.8490472496,
             4317.5108282145,
             4245756.819474949,
             2125453.716929835,
             4244432.895226039,
             4857.1996817414,
             4003403.0273898956,
             2217256.0522256005,
             4427757.9226479605,
             5396.8885352682,
             3777191.4232331146,
             2295039.1348275845,
             4583087.149350408,
             5936.577388795,
             3565140.9983398397,
             2361711.400010931,
             4716228.586369848,
             6476.2662423218,
             3365508.458195018,
             2419418.561081369,
             4831467.124165168,
             7015.9550958486,
             3176783.383345731,
             2469777.5558760543,
             4932031.71298453,
             7555.6439493755,
             2997664.4373647165,
             2514029.60744525,
             5020401.017983822,
             8095.3328029023,
             2827030.9928160147,
             2553143.1057302416,
             5098508.869190024,
             8635.0216564291,
             2663915.8656335925,
             2587884.4433919215,
             5167885.717382202,
             9174.7105099559,
             2507481.1432243907,
             2618867.845659871,
             5229758.14200077,
             9714.3993634827,
             2356997.528988511,
             2646591.1039329884,
             5285120.209499063,
             10254.0882170096,
             2211827.0014505223,
             2671461.647484575,
             5334785.537335256,
             10793.7770705364,
             2071408.3728474216,
             2693815.864364984,
             5379425.876923503,
             11333.4659240632,
             1935245.2947537028,
             2713933.6224123226,
             5419600.111422157,
             11873.15477759,
             1802896.2914429125,
             2732049.3225856074,
             5455776.328730078,
             12412.8436311168,
             1673966.4580185697,
             2748360.4100755625,
             5488348.8177821655,
             12952.5324846436,
             1548100.5195212648,
             2763033.9962407113,
             5517651.292250132,
             13492.2213381705,
             1424977.0011425554,
             2776212.0588530437,
             5543967.27519316,
             14031.9101916973,
             1304303.3058068282,
             2788015.559727619,
             5567538.321774209,
             14571.5990452241,
             1185811.5335790883,
             2798547.728641205,
             5588570.577094024,
             15111.2878987509,
             1069254.9084209208,
             2807896.698257318,
             5607240.038014805,
             15650.9767522777,
             954404.7028249403,
             2816137.6284883604,
             5623696.79541341,
             16190.6656058046,
             841047.5708753675,
             2823334.424936226,
             5638068.46582794,
             16730.3544593314,
             728983.2162499077,
             2829541.131089023,
             5650462.971610343,
             17270.0433128582,
             618022.3343855826,
             2834803.0552893193,
             5660970.791430002,
             17809.732166385,
             507984.77811925893,
             2839157.679366196,
             5669666.774770012,
             18349.4210199118,
             398697.9040939718,
             2842635.3849958056,
             5676611.592435693,
             18889.1098734387,
             289995.0634964347,
             2845260.0254309312,
             5681852.878272181,
             19428.7987269655,
             181714.20557209002,
             2847049.3635712736,
             5685426.103970503,
             19968.4875804923,
             73696.56609142365,
             2848015.3919545733,
             5687355.218075162,
             20508.1764340191,
             -34214.58430487934,
             2848164.5457703345,
             5687653.07136262,
             21047.8652875459,
             -142175.15504244107,
             2847497.8161523887,
             5686321.643081417,
             21587.5541410727,
             -250341.4358319131,
             2846010.7675651037,
             5683352.075671582,
             22127.2429945996,
             -358871.3037082298,
             2843693.4598658555,
             5678724.519126957,
             22666.9318481264,
             -467925.4586427888,
             2840530.2724261717,
             5672407.779773293,
             23206.6207016532,
             -577668.710381,
             2836499.6243502335,
             5664358.76155748,
             23746.30955518,
             -688271.3407861391,
             2831573.581156323,
             5654521.680608561,
             24285.9984087068,
             -799910.5684033526,
             2825717.334069072,
             5642827.025408333,
             24825.6872622337,
             -912772.1453105813,
             2818888.533050014,
             5629190.224884195,
             25365.3761157605,
             -1027052.1207580237,
             2811036.4485411257,
             5613509.974449685,
             25905.0649692873,
             -1142958.8118298496,
             2802100.9291785476,
             5595666.154606791,
             26444.7538228141,
             -1260715.0286769797,
             2792011.1128742383,
             5575517.257035611,
             26984.4426763409,
             -1380560.6111333189,
             2780683.8358686757,
             5552897.207545908,
             27524.1315298678,
             -1502755.345210181,
             2768021.6675283876,
             5527611.441658517,
             28063.8203833946,
             -1627582.3426550883,
             2753910.476250267,
             5499432.043828579,
             28603.5092369214,
             -1755351.9851955469,
             2738216.4016286363,
             5468091.701002842,
             29143.1980904482,
             -1886406.5581523138,
             2720782.066845913,
             5433276.1389386635,
             29682.886943975,
             -2021125.7268274664,
             2701421.808379699,
             5394614.596149156,
             30222.5757975018,
             -2159933.0445431727,
             2679915.620614451,
             5351667.731572101,
             30762.2646510287,
             -2303303.7243810515,
             2656001.4003005535,
             5303912.137112604,
             31301.9535045555,
             -2451773.957867741,
             2629364.913909037,
             5250720.302913444,
             31841.6423580823,
             -2605952.12165448,
             2599626.674665932,
             5191334.411398182,
             32381.3312116091,
             -2766532.272118948,
             2566324.5655052983,
             5124831.6361102555,
             32921.0200651359,
             -2934310.3730377196,
             2528890.5146750514,
             5050077.563974084,
             33460.7089186628,
             -3110203.6981453593,
             2486618.7151574367,
             4965662.730944252,
             34000.3977721896,
             -3295273.7196778036,
             2438621.5958752804,
             4869814.698536081,
             34540.0866257164,
             -3490752.3604643806,
             2383767.6862024185,
             4760273.972120149,
             35079.7754792432,
             -3698070.359232019,
             2320592.101525678,
             4634115.244720174,
             35619.46433277,
             -3918883.7889746404,
             2247164.578127071,
             4487483.868762203,
             36159.1531862968,
             -4155088.4128420423,
             2160889.8268612395,
             4315197.171581008,
             36698.8420398237,
             -4408796.594389657,
             2058196.577100377,
             4110123.490527008,
             37238.5308933505,
             -4682215.41670738,
             1934037.1504298788,
             3862182.844728325,
             37778.2197468773,
             -4977274.442685887,
             1781052.1482334412,
             3556678.8547432427,
             38317.9086004041,
             -5294613.943414979,
             1588119.224928162,
             3171400.709676673,
             38857.5974539309,
             -5630876.894764883,
             1337725.3192682639,
             2671375.634350511,
             39397.2863074578,
             -5971222.709150139,
             1001038.904543178,
             1999028.4003372625,
             39936.9751609846,
             -6267303.173214568,
             528663.9914101936,
             1055717.4962678473,
             40476.6640145114,
             -6367554.871838257,
             -163996.72644826394,
             -327493.99488195067,
             41016.3528680382,
             -5793580.464333258,
             -1191150.0063884777,
             -2378671.6975502833,
             41556.041721565,
             -3292792.8979927907,
             -2439289.546911785,
             -4871148.765324551,
             42095.7305750919,
             1641675.4481335229,
             -2752241.6599329347,
             -5496099.694040162,
             42635.4194286187,
             5194666.048769003,
             -1652629.4396005366,
             -3300224.8309829985,
             43175.1082821455,
             6280728.255793412,
             -495875.99987436744,
             -990241.589543785,
             43714.7971356723,
             6341053.8170107445,
             306686.11437909486,
             612437.918872792
         ]
     },
     "path": {
         "show": true,
         "leadTime": 20,
         "trailTime": 20,
         "width": 2,
         "resolution": 60,
         "material": {
             "solidColor": {
                 "color": {
                     "rgba": [
                         255,
                         255,
                         0,
                         255
                     ]
                 }
             }
         }
     }
 }]

In [ ]: